<?php
/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2018/3/23
 * Time: 9:25
 */

namespace app\api\controller\v1;

use app\common\lib\exception\ApiException;
use app\api\model\Reclass as M;

class ReClass extends Common
{
    /**
     * 学生重上课程 申请
     * @param reclass_stu_id int 学生id *必传
     * @param reclass_les_id int 课程详情id *必传
     * @author 王柯 <wangke.email@foxmail.com>
     * @return array|string|\think\response\Json
     */
    public function save(){
        $result = (new M())->addReClass();
        return $result;
    }
}